package com.jeesite.modules.tk.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.tk.entity.TkJubao;
import com.jeesite.modules.tk.dao.TkJubaoDao;

/**
 * 举报悬赏Service
 * @author 李寒冰
 * @version 2025-05-09
 */
@Service
public class TkJubaoService extends CrudService<TkJubaoDao, TkJubao> {
	
	/**
	 * 获取单条数据
	 * @param tkJubao
	 * @return
	 */
	@Override
	public TkJubao get(TkJubao tkJubao) {
		return super.get(tkJubao);
	}
	
	/**
	 * 查询分页数据
	 * @param tkJubao 查询条件
	 * @param tkJubao page 分页对象
	 * @return
	 */
	@Override
	public Page<TkJubao> findPage(TkJubao tkJubao) {
		return super.findPage(tkJubao);
	}
	
	/**
	 * 查询列表数据
	 * @param tkJubao
	 * @return
	 */
	@Override
	public List<TkJubao> findList(TkJubao tkJubao) {
		return super.findList(tkJubao);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param tkJubao
	 */
	@Override
	@Transactional
	public void save(TkJubao tkJubao) {
		super.save(tkJubao);
	}
	
	/**
	 * 更新状态
	 * @param tkJubao
	 */
	@Override
	@Transactional
	public void updateStatus(TkJubao tkJubao) {
		super.updateStatus(tkJubao);
	}
	
	/**
	 * 删除数据
	 * @param tkJubao
	 */
	@Override
	@Transactional
	public void delete(TkJubao tkJubao) {
		super.delete(tkJubao);
	}
	
}